package com.lifeng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author:lifeng
 * @date:2020/3/30 16:54
 */
@Controller
public class IndexController {

    @RequestMapping("/")
    public String index(){
        return "index";
    }

    /**
     * 联系我们
     * */
    @RequestMapping("/contact")
    public String contact(){
        return "contact";
    }

    /**
     * 关于我们
     * */
    @RequestMapping("/about")
    public String about(){
        return "about";
    }
}
